package com.SmartClassroom.system.model.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @TableName Attendance
 */
@TableName(value = "Attendance")
@Data
public class Attendance implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    /**
     * 签到id
     */
    @TableId(type = IdType.AUTO)
    private Integer attendanceId;
    /**
     * 学生id
     */
    private Long studentId;
    /**
     * 课程id
     */
    private Integer courseId;
    /**
     * 签到状态
     */
    private String status;
    /**
     * 时间戳
     */
    private Date timestamp;
    /**
     * 是否删除
     */
    private Integer isDelete;
}